#include <memory>

#include <ballade/smartclient/listener.h>

namespace Ballade
{
	namespace SmartClient
	{
		Listener::Listener(const char *name)
		{
			memset(_name, 0x00, sizeof(_name));
			memcpy(_name, name, sizeof(_name) - 1);
		}

		Listener::~Listener()
		{
			Logger_.close();
		}

		const char* Listener::getName() const
		{
			return _name;
		}

		Util::Logger& Listener::Logger_ = Util::Logger::getInstance();

	}
}